package com.antoni.sboot_task;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

//开启异步注解功能
@EnableAsync
//开启定时功能的注解
@EnableScheduling
@SpringBootApplication
public class SbootTaskApplication {

	public static void main(String[] args) {
		SpringApplication.run(SbootTaskApplication.class, args);
	}

}
